package com.cskaoyan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author LiaoLong
 * @date 2021-05-10 16:18
 */
@NoArgsConstructor
@Data
public class GoodsStatVO {
    private List<String> columns;
    private List<RowsBean> rows;

    @NoArgsConstructor
    @Data
    public static class RowsBean {
        private int amount;
        private int orders;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date day;
        private int products;
    }
}
